package com.loong.nnm.entity.devm;

import java.util.List;

public class EqParameter {

    private enum EqState {
        Initializing,//初始化过程
        Working,//正常工作状态
        Exception//故障状态
    }

    private enum EqType {
        Power,
        Fan,
        Service,
        SystemControl,
        CrossConnection,
        Clock,
        Unknown
    }

    private String name;
    private boolean plugState;
    private EqState eqState;
    private String eqSn;
    private String softwareVersion;
    private String hardwareVersion;
    private EqType eqType;
    private List<String> ptpName;

    @Override
    public String toString() {
        return "EqParameter{" +
                "name='" + name + '\'' +
                ", plugState=" + plugState +
                ", eqState=" + eqState +
                ", eqSn='" + eqSn + '\'' +
                ", softwareVersion='" + softwareVersion + '\'' +
                ", hardwareVersion='" + hardwareVersion + '\'' +
                ", eqType=" + eqType +
                ", ptpName=" + ptpName +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isPlugState() {
        return plugState;
    }

    public void setPlugState(boolean plugState) {
        this.plugState = plugState;
    }

    public EqState getEqState() {
        return eqState;
    }

    public void setEqState(EqState eqState) {
        this.eqState = eqState;
    }

    public String getEqSn() {
        return eqSn;
    }

    public void setEqSn(String eqSn) {
        this.eqSn = eqSn;
    }

    public String getSoftwareVersion() {
        return softwareVersion;
    }

    public void setSoftwareVersion(String softwareVersion) {
        this.softwareVersion = softwareVersion;
    }

    public String getHardwareVersion() {
        return hardwareVersion;
    }

    public void setHardwareVersion(String hardwareVersion) {
        this.hardwareVersion = hardwareVersion;
    }

    public EqType getEqType() {
        return eqType;
    }

    public void setEqType(EqType eqType) {
        this.eqType = eqType;
    }

    public List<String> getPtpName() {
        return ptpName;
    }

    public void setPtpName(List<String> ptpName) {
        this.ptpName = ptpName;
    }
}
